match x:
    case (1 |
            2
           |   3,
          [1 
             |    2, 
           3,],
          Class(1 
             | 2, 
                3)
          ):
        pass